import java.awt.*;
import java.awt.datatransfer.StringSelection;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;

public class TEST2 {
    public static void main(String[] args) throws AWTException, InterruptedException {
        Robot robot=new Robot();
        StringSelection stsel=new StringSelection("chrome --remote-debugging-port=9222");
        Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stsel,null);
        for (int k=0;k<5;k++){
            robot.mouseMove((int)(273*1.25),(int)(844*1.25));

        }

        robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
        robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
        for (int k=0;k<10;k++){
            robot.mouseMove((int)(400*1.25),(int)(265*1.25));

        }
        Thread.sleep(500);
        robot.mousePress(InputEvent.BUTTON3_DOWN_MASK);

        robot.mouseRelease(InputEvent.BUTTON3_DOWN_MASK);

        Thread.sleep(500);
        robot.keyPress(KeyEvent.VK_ENTER);
        robot.keyRelease(KeyEvent.VK_ENTER
        );


    }
}
